package com.woniu.scss.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component                  // prefix公共前缀
@ConfigurationProperties(prefix = "minio") // ConfigurationProperties批量读取配置文件属性，而@Value只能一个一个读
public class MinioProp {
    private String endpoint;
    private String accesskey;
    private String secretKey;
}